package com.dalin.demo.dao;

import com.dalin.demo.pojo.entity.Student;
import com.dalin.demo.pojo.entity.StudentClass;
import com.dalin.demo.pojo.entity.Teacher;
import com.dalin.demo.pojo.entity.TeacherCourse;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface TeacherMapper {
    List<Teacher> listTeachersByParams(Map<String, Object> params);
    void insertTeacher(Teacher teacher);
    void updateTeacher(Teacher teacher);
    void deleteTeacherById(Integer id);
    void batchInsert(List<TeacherCourse> teacher);
    List<TeacherCourse> findTeacherByClassId(Long teacherId);
    void deleteTeachersById(Integer id);
}